﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D9F RID: 3487
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class QuitBattleScNotify : IMessage<QuitBattleScNotify>, IMessage, IEquatable<QuitBattleScNotify>, IDeepCloneable<QuitBattleScNotify>, IBufferMessage
	{
		// Token: 0x17002C4F RID: 11343
		// (get) Token: 0x06009C87 RID: 40071 RVA: 0x001A3192 File Offset: 0x001A1392
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<QuitBattleScNotify> Parser
		{
			get
			{
				return QuitBattleScNotify._parser;
			}
		}

		// Token: 0x17002C50 RID: 11344
		// (get) Token: 0x06009C88 RID: 40072 RVA: 0x001A3199 File Offset: 0x001A1399
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return QuitBattleScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002C51 RID: 11345
		// (get) Token: 0x06009C89 RID: 40073 RVA: 0x001A31AB File Offset: 0x001A13AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return QuitBattleScNotify.Descriptor;
			}
		}

		// Token: 0x06009C8A RID: 40074 RVA: 0x001A31B2 File Offset: 0x001A13B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitBattleScNotify()
		{
		}

		// Token: 0x06009C8B RID: 40075 RVA: 0x001A31BA File Offset: 0x001A13BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitBattleScNotify(QuitBattleScNotify other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009C8C RID: 40076 RVA: 0x001A31D3 File Offset: 0x001A13D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitBattleScNotify Clone()
		{
			return new QuitBattleScNotify(this);
		}

		// Token: 0x06009C8D RID: 40077 RVA: 0x001A31DB File Offset: 0x001A13DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as QuitBattleScNotify);
		}

		// Token: 0x06009C8E RID: 40078 RVA: 0x001A31E9 File Offset: 0x001A13E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(QuitBattleScNotify other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x06009C8F RID: 40079 RVA: 0x001A3208 File Offset: 0x001A1408
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009C90 RID: 40080 RVA: 0x001A322E File Offset: 0x001A142E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009C91 RID: 40081 RVA: 0x001A3236 File Offset: 0x001A1436
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009C92 RID: 40082 RVA: 0x001A323F File Offset: 0x001A143F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009C93 RID: 40083 RVA: 0x001A3258 File Offset: 0x001A1458
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009C94 RID: 40084 RVA: 0x001A327E File Offset: 0x001A147E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(QuitBattleScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009C95 RID: 40085 RVA: 0x001A329B File Offset: 0x001A149B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009C96 RID: 40086 RVA: 0x001A32A4 File Offset: 0x001A14A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04003C7A RID: 15482
		private static readonly MessageParser<QuitBattleScNotify> _parser = new MessageParser<QuitBattleScNotify>(() => new QuitBattleScNotify());

		// Token: 0x04003C7B RID: 15483
		private UnknownFieldSet _unknownFields;
	}
}
